package com.yingxin.yxerp.module.activiti.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yingxin.yxerp.module.activiti.entity.ActivitiForm;
import com.yingxin.yxerp.module.activiti.vo.req.ActivitiFormQueryVo;
import com.yingxin.yxerp.module.activiti.vo.resp.ActivitiFormRespVo;

import java.util.List;

/**
 * 表单 服务类
 * Accessor
 * Processor
 * @author fanchao
 * @since 2021-10-18
 */

public interface IActivitiFormService extends IService<ActivitiForm> {

    /**
     * 分页查询
     */
    IPage<ActivitiFormRespVo> pageVo(Page page, ActivitiFormQueryVo queryVo);

    /**
     * 查询全部
     */
    List<ActivitiFormRespVo> listVo(ActivitiFormQueryVo queryVo);

    /**
     * 根据id查询
     */
    ActivitiFormRespVo getVo(String id);

}
